package epidemic

// AttendanceOverview 出勤数据
type AttendanceOverview struct {
	Data   []AttendanceData
	Dalian AttendanceCompany
	All    AttendanceCompany
}

// AttendanceCompany 公司出勤
type AttendanceCompany struct {
	Data            AttendanceData
	Total           int `json:"total"`
	InPositionTotal int `json:"inPositionTotal"`
	HomeTotal       int `json:"homeTotal"`
}

// AttendanceData 出勤数据
type AttendanceData struct {
	Department           string `json:"department"`
	TotalRegular         int    `json:"totalRegular"`
	TotalOutsourced      int    `json:"totalOutsourced"`
	InPositionMiddle     int    `json:"inPositionMiddle"`
	InPositionRegular    int    `json:"inPositionRegular"`
	InPositionOutsourced int    `json:"inPositionOutsourced"`
	HomePositive         int    `json:"homePositive"`
	HomeOthers           int    `json:"homeOthers"`
	AttendancePercentage string `json:"attendancePercentage"`
}

// TotalNum 员工总数
type TotalNum struct {
	Department   string
	Organization string
	Total        int
}

// InPosition 在岗信息
type InPosition struct {
	Department    string
	Organization  string
	Label         string
	IsolationType string
}

// ManagerOverview 中高层居家情况
type ManagerOverview struct {
	High   []ManagerInfo
	Middle []ManagerInfo
}

// ManagerInfo 管理层信息
type ManagerInfo struct {
	Name          string
	Department    string
	IsolationType string
	Location      string
	Date          string
	Label         string
	Count         int
}
